﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cocbook_DTO
{
    public class Customer
    {

        public int CustomerID { get; set; }
        public int CMND { get; set; }
        public string CName { get; set; }
        public DateTime Birthday { get; set; }
        public string CAddress { get; set; }
        public string Email { get; set; }
        public string Phone { get; set; }
        public string Tel { get; set; }
        public int Points { get; set; }

        public Customer(int customerID = 0, int cmnd = 0,string cName = "", DateTime birthday = new DateTime(), string cAddress = "",string email = null, string phone = "", string tel = "", int points = 0)
        {
            CustomerID = customerID;
            CMND = cmnd;
            CName = cName;
            Birthday = birthday;
            CAddress = cAddress;
            Phone = phone;
            Tel = tel;
            Points = points;
            Email = email;
        
        }
    }
}
